I noticed when I view the racing line in LFS that some of the trajectory paths are ones that the fastest driver's don't follow and either turn in too soon or too late in relation to the turns. I dissected nearly all the turns to bisect the angles to calculate the real apex positions and mapped out all the geometric apexes. I noticed that some of the racing lines in the game didn't use the largest arc radius allowable for single turns, and a more complex system of arc radii for S-section turns where the largest arc radius is found in the final turn.
My question is how are the racing lines calculated in LFS? Is it by the fastest hotlap set, by mathematical breakdown and calculation of the turn angles, or by some other method?
In the images below, I took a snap of the game to show exactly what I mean. (Click to enlarge)
The green line represents the in-game trajectory path but it's not allowing the car to take the largest arc radius possible. It actually cuts into the turn much sooner forcing the car into a smaller turn radius that apexes the corner before the geometric apex.
The yellow line represents the line I calculated for that corner to be the largest arc radius allowable which if you've raced on KY oval before, you'll notice as well that the turn in point and trajectory path is about the same line where the fastest drivers position their cars as well.
Sorry it's a bit of a complex question to explain which is one I've been wanting to ask for a while. I created images for another project which relates to it and it helps to explain the question.